﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _11._4
{
    public   class Chicken:Animal
    {
        public void LayEgg() => Console.WriteLine($"{name} has laid an egg.");
        public Chicken(string name) : base(name) { }
    }
}
